﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nop.Core.Domain.Directory;

namespace Nop.Services.ProvinceCitys
{
    public partial interface IProvinceCityService
    {
        /// <summary>
        /// Inserts a ProvinceCity
        /// </summary>
        /// <param name="ProvinceCity">ProvinceCity</param>
        void InsertProvinceCity(ProvinceCity ProvinceCity);

        /// <summary>
        /// Updates the ProvinceCity
        /// </summary>
        /// <param name="ProvinceCity">ProvinceCity</param>
        void UpdateProvinceCity(ProvinceCity ProvinceCity);

        /// <summary>
        /// Deletes a ProvinceCity
        /// </summary>
        /// <param name="ProvinceCity">ProvinceCity</param>
        void DeleteProvinceCity(ProvinceCity ProvinceCity);

        /// <summary>
        /// Gets a ProvinceCity
        /// </summary>
        /// <param name="id">The ProvinceCity identifier</param>
        /// <returns></returns>
        ProvinceCity GetProvinceCityById(int id);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <returns></returns>
        List<ProvinceCity> GetPageList(int pageIndex, int pageSize);
    }
}
